#!/bin/bash
#to produce birthday dic for crack
year=1950
for((;year<2020;year++))
do
	for((month = 1;month < 13;month++))
	do
		for((day = 1;day<32;day++))
		do
			if [ $month -lt 10 ]; then
				if [ $day -lt 10 ]; then
					echo $year"0"$month"0"$day >> birth.dic
				else
					echo $year"0"$month$day >> birth.dic
				fi
			else
				if [ $day -lt 10 ]; then
					echo $year$month"0"$day >> birth.dic
				else
					echo $year$month$day >> birth.dic
				fi
			fi
		done
	done
done
